gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 5 Oct 2017 23:06:03 +0000 (01:06 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 14 Aug 2018 16:52:07 +0000 (18:52 +0200)
commit935bb5db32ec98c6b70ed02cfaeb15706a4359da
tree42249a9db3243d8f56093565aabdb1bae12acf4a
parent2e9439b017186e2784a49e9396c34c0f40fa88ff
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls

These may not result on wl_surface.frame callbacks, yet we do trigger
a frame clock tick that would get stuck on the lack of such callback.

https://bugzilla.gnome.org/show_bug.cgi?id=784314
https://gitlab.gnome.org/GNOME/gtk/issues/844

Closes: #844
gdk/wayland/gdkwindow-wayland.c